package org.jeecg.modules.bim.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.UnsupportedEncodingException;
import java.util.List;

/**
 * @Description: 模型构件信息表
 * @Author: chenliang
 * @Date: 2022-09-23
 * @Version: V1.0
 */
@Data
@TableName("bim_structure_info")
@ApiModel(value = "bim_structure_info对象", description = "模型构件信息表")
public class BimStructureInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**
     * 构件名称
     */
    @Excel(name = "构件名称", width = 15)
    @ApiModelProperty(value = "构件名称")
    private java.lang.String name;
    /**
     * 构件编号
     */
    @Excel(name = "构件编号", width = 15)
    @ApiModelProperty(value = "构件编号")
    private java.lang.String code;
    /**
     * 项目id
     */
    @Excel(name = "项目id", width = 15, dictTable = "project_info", dicText = "name", dicCode = "id")
    @Dict(dictTable = "project_info", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "项目id")
    private java.lang.String projectId;
    /**是否显示*/
    @Excel(name = "是否显示", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否显示")
    private java.lang.String isVisible;
    /**
     * 父级id
     */
    @Excel(name = "父级id", width = 15)
    @ApiModelProperty(value = "父级id")
    private java.lang.String pid;
    /**
     * 是否有子节点
     */
    @Excel(name = "是否有子节点", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否有子节点")
    private java.lang.String hasChild;
    /**
     * ud4构件id
     */
    @Excel(name = "ud4构件id", width = 15)
    @ApiModelProperty(value = "ud4构件id")
    private java.lang.String ue4Id;
    /**
     * ue4视角属性locaction
     */
    @Excel(name = "ue4视角属性locaction", width = 15)
    @ApiModelProperty(value = "ue4视角属性locaction")
    private java.lang.String ue4Location;
    /**
     * ue4视角属性pitch
     */
    @Excel(name = "ue4视角属性pitch", width = 15)
    @ApiModelProperty(value = "ue4视角属性pitch")
    private java.math.BigDecimal ue4Pitch;
    /**
     * ue4视角属性yaw
     */
    @Excel(name = "ue4视角属性yaw", width = 15)
    @ApiModelProperty(value = "ue4视角属性yaw")
    private java.math.BigDecimal ue4Yaw;
    /**
     * 测站id
     */
    @Excel(name = "测站id", width = 15)
    @ApiModelProperty(value = "测站id")
    private java.lang.String stationId;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String note;

    @TableField(exist = false)
    private String path;

    @TableField(exist = false)
    private List<BimStructureInfo> child;

    @TableField(exist = false)
    private List<BimStructureInfoSub> sub;

    /**
     * 所属模块
     */
    @Excel(name = "所属模块", width = 15 , dicCode = "is_module")
    @Dict(dicCode = "is_module")
    @ApiModelProperty(value = "所属模块")
    private java.lang.String moduleType;
}
